package com.petAdoption.manager.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.petAdoption.manager.entity.Productcategory;
import com.petAdoption.manager.mapper.ProductcategoryMapper;
import com.petAdoption.manager.service.IProductcategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ProductcategoryImpl extends ServiceImpl<ProductcategoryMapper,Productcategory> implements IProductcategoryService {

    @Resource ProductcategoryMapper mapper;

    @Override
    public List<Productcategory> findAll() {
        return mapper.selectList(null);
    }

}
